/*
 * @Author: your name
 * @Date: 2020-07-27 17:39:04
 * @LastEditTime: 2020-08-30 13:12:36
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /gulp/gulp4/src/es6/test.js
 */
let a = 123,
    b = 456,
    c = 789;


function test() {
    return new Promise((resolve, reject) => {
        console.log(123)
        resolve(123)
    })
}


let res;
(async () => {
    res = await test();
    console.log(res)
})()